

<div id="bg_new_between">

            <?php if(!empty($news)): ?>
        		<?php foreach($news as $data):?>
		        	<div class="bg_new_between_text">
		            	<div class="icon_new">
		                	<img src="assets/frontend/css/img/icon_new.png"/>
		                </div>

		                <?php if($data['news_updated'] != ''):?>
                            <?php
                                $news_updated = strtotime($data['news_updated']);
                                $news_updated = date('d-m-Y', $news_updated);
                            ?>
                            <div class="time"> <?= $news_updated ?> </div>

                            <div class="hr" style="float: right; margin-right: 20px;margin-top: -13px;">
                                <img src="assets/frontend/css/img/side.png" width="103px" height="9px" />
                            </div>
                        <?php else:?>
                            <?php
                                $news_created = strtotime($data['news_created']);
                                $news_created = date('d-m-Y', $news_created);
                            ?>
                            <div class="time"> <?= $news_created ?> </div>
                            <div class="hr" style="float: right; margin-right: 20px;margin-top: -13px;">
                                <img src="assets/frontend/css/img/side.png" width="103px" height="9px" />
                            </div>
                        <?php endif;?>
		                <div class="img_new">
		                    <img width="43px" height="51px" style="border:1px solid #f7f7f6" src="admin/<?= $data['news_image_thumb']?>"/>
		                </div>
		                <a href="<?= _BASE_URL?>index.php?module=news&action=readnews&slug=<?= $data['slug']?>" class="text" style="font-size: 12px!important;"><?= $this->_helper->limited_word(ucfirst($data['news_title']),9) ?></a>
		            </div>
            	<?php endforeach;?>
            <?php endif;?>
</div>


<script type="text/javascript" src="<?= _BASE_URL?>assets/frontend/js/jquery-ui-1.8.21.custom.min.js"></script>
<script type="text/javascript" src="<?= _BASE_URL?>assets/frontend/js/jquery.mousewheel.min.js"></script>
<script type="text/javascript" src="<?= _BASE_URL?>assets/frontend/js/jquery.mCustomScrollbar.js"></script>
<script type="text/javascript">

</script>

<script type="text/javascript">
    $(document).ready(function(){
        //var msc = jQuery.noConflict(true);
        jQuery('#bg_new_between').mCustomScrollbar({
            scrollButtons:{
				enable:true
			},
            callbacks:{
                onScroll:function(){},
            }
        });
    });
</script>